<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Vue.set的使用</title>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="root">
			<h2>学校名称:{{name}}</h2>
			<h2>学校地址:{{address}}</h2>
			
		</div>
		<script type="text/javascript">
			Vue.config.productionTip = false
			 new Vue({
				 el:"#root",
				 data:{
					name:"尚硅谷",
					address:"北京"
				 }
			 })
		
			
		</script>
	</body>
</html>
